toupper Changes

Small alterations to toupper