added missing argument check for verify