adapt mnist example to use coffee lounge