1st part of the task, redone