Fixed tasks 1, 2, 4, 5