works in ST3
backwards compatibility