updated function definition for serval-verify