better integration with symfony