refactoring load_calculate_page
refactored load_calculate_page
refactored load_calculate_page