Assigment 2 - application 2 is implemeneted