pass only what's needed