add paraelle processing
added locking around phase