added upcase for input correction