refactored equals -> equalsIgnoreCase