actually use correct function for verify