added if orbitistapi statement