rewrite using duplexify
1.5.0