added function comments in program.h