added migrations to legs