Assigment 2 - application 1 is implemented