add fib algorithm