attempt at adding convertToPartitioned