cpgf library for LookingGlass