tasks 6 & 7