build sample for this program