used better technique for dynamic CSS