added multiple process handler stuff