bsearch and fibs
add c stuff