move styles to classes