renamed the called function

rename of function, because there was difference in function definition name and function call name.