abstracted and exposed the litPack to code functionality