The second book of Esdras was written a lot later, c. AD 100. In this book, Ezra talks with an angel or God three times and has four visions. At the end, he is taken up to heaven like Enoch and Elijah. Ezra is seen as a new Moses in this book.