adding orientation option