ok so after seeing the other callsite, why does it have the `directory` parameter at all?