add model to inputs