add code to make new lib file