added reconciliation functionality