model should also be in the param