two functions of intermediary devices