made a change to the model and removed the require for SecureRandom