init atom stuff