fix error in task18 and added task 19