make all function challenges pass