compile error - fixed function name