Assigment 1: application 2 is implemented