added a option to display output in maxfield format