moving trigger validation to before adding validation