use duplexer instead of duplexer2
destroy logic and fixed tests
updated docs