added atom restore