migrate to symfony2