added partitioning of armature