def replaced by final def