input model