Egypt looks to the future with one eye on the past