debugging the models