added tasks 18 and 19