adding lib, adding changes made for print version