added a callback, logging scores