funny app, refactored code
funny app, hat