rendering needs to include element class