Added initial back reference generation