range field implementation