task 2-2, 2-3 work correctly