chancging string formating method