10th task from Classes part 2