fixed format of code samples