take new style into account