renamed resetStyles to clearStyles