adding solution for better_fib