some example and test programs