You've addressed your post to the wrong person. I did not say that Genesis contradicts itself. I'm the one who said that the Genesis creation story is an allegory. I'm sure you disagree with that, too, but it's a different issue.
BTW - allegory? based on what?