rename a function thats causing recursion