initial source code and some working examples