grab bag of code and examples culled from various projects to be used as reference