add helper for verify