implement book algos completeted. compare successful