improve formatting on code samples