Library for bfin