moved goaprepare after orthoinference