adding some migrations and some code