made Entity extendable