Created methods for migrating data