thank you sir....i have finally make it to work..but another problem is that the function timer(); cant be called after the loop of having the first winner, again, it just waits for another input to happen...should i use interrupts? because the system goes like this, after selecting the winner, the game master should select a time enable him to answer.. if he cant answer with in that time ..it will go back to the loop...thanks sir...![]()