make program now working