BJ: added dum_csv method