code sample comment updated