setting up migration stuff