the braces around the instanceof are not needed