Refactor, internal processSync