Changed the model in the code and finished debugging