functions now work
passes fib test