testing some algos