adding bidirectional sample