got rid of some commenting and fixed a misnamed function.