code for insertion into library searched in google books