automatic style by ext