Added method call for drawEntities