solved duplexer redux
solved combiner, had to cheat :( didn't know that you have to check for bug.length in write functions