changed timer to tick to 0 instead of -1