solve task 4