code for the doctrine "getting started with Doctrine"