quick and dirty library export with three working examples