dispatcher and algo ver1