Finished verify function.