Added additonal code of symfony