My IDE complains that it should be `equals()` not `==`