added psuedo code for BI merchant rev(date)