improved orientation support