reverted example and src to original example. maintained buffer.c program.c and program.h updates