.module load_by_reference function