formating doc and dfp example