Better solution to egg problem