change string comparison to use String.equals()