updated to read egg from the correct preload value