fix model counter and a bit more verbose output