added entityinit method, calls super method