Now user can modify threshold value