Adjust default parameter and delay
Change input from number to range