renamed a function to avoid confusion