replaced all internal function calls with strings