styling and added contract type to migration