add loggers to demo, make callbacks explicit