pass arguments to model