conversion to inverted styles