working on adapting to Symfony 2.4.2