restyling of code