composing comments UI with code