work on trying to debug the model