added player and entity hierarchy