Course project 2nd task