formated code