changing format method