fixed program to align with lab1 and number values