finishup verify function