range buttons working