added the 'wrong orientation' feature