add inverted class