Implemented first task.