locked orientation.  Added device parameters.