renamed a function to the correct namespace