added natural orientation flag support