adding some algos