Work on the models and calculating the hash