test1 function creator of book