refactoring, Silex involved