base

base of algoritm