Added orientation setting