converted print statements to app.debug
clean up the coffee