work on sample program