tasks 5-7