update to use classes instead of text and render component body