use metaclass for styles