Add source and header sample code part 2