We should send upper case to the API, but I'll robustify the input checking here