i'd compare the enum value instead. if you must compare strings, you must use `.equals()` to compare strings.