use range events in output