added SubsolutionsWriter