added call to getOrientation to driver