renamed function names