timer changed to input

So it can be passed easily to the datbase