Capitalize function name

The name of the function was in capital letters, but then was used in lowercase.