Completed task for 2th assigment