Added variable counter time, check for out of time
Now waits for return key to start operations.