- implemented orientation correction feature