changed markup/styles to classes