[Ian] adding the ability to bucket conenctions by mode