Made user input time dependent