restructured to have entities without sprites