added drive magnitude static var