working with fib