Code created to work on Calrom exam interview