added isRange widget