made pages more dynamic, and they use the database to display more correct stuff