using temp1 for Lab5 in CS3240