fixing code sample format