Working with bidirectional data