use reduplexer
add more tests