Fixed mispelled function