Fixed issue with exam task3