implement passthrough mode, fixes #175