minor refactoring (sequence change)