got rid of static methods, PHPUnit does not allow to mock them so the last argument for using them is dead