use `params.require()` here too?