by passing a medium