Corrected functions task