add Landscape and Portrait Functions