fib solution