cleaned up notation for RangeBound function