updated to landscape orientation