updated function name for consistency

and added HTML5 DOC tags