migrate to atom