now binding most of the library