better model logging