formatted and styles code