fib, calc and json