added sqr and fib