add in invoke valid and invalid model