separate class for task3
separate class for task3