working cool beer app

This looks like a job for switch.