switch(rawrs[0].equalsIgnoreCase()) prevents bug upon use of capslock