first steps for state migration