modularize styles