Corrected mis-spelt function name