add orientation flags