added the ER diagram