updated loading sequence