reference formating