added tasks 1-4