Rename function to avoid duplication and confusion
Merge pull request #141 from wmtan/fixDuplicateName

Rename function to avoid duplication and confusion