restyling code