refactored loading sections