don't really love this, I would Symfony let handle this.