first part of returning more then one client's binging algorithm