printing in better format