renamed the class to RenderPartition