Corrected data type for saveProgram