Sublimation and deposition