styling and range filtering