began efforts to centralize array loading functions in a memory-efficient method