changed style to classes, rather than elemental