This should be changed to ```if (rw.equals("r")) {```