fixed spelling error in name of function