Completed task for second assigment