Change case of function