slightimprovement in structure and removes need to draw loads of sprites