Code from day two of Symfony traning