I think I solved task 1.