ready for bidir diff