adding missing underscore in between words in function
moving function_exists checks to outside the phpdoc comments for file consistency