No the
finish :

isn't set right, I meant under the complete structure, that means under the closing bracket of the While (1).

2: Where you now have the finish : put in temper = 0;