latest bidirectional code