replaced word partition with choice