added find and partition