modularized the css