wrote verification api, not wired up yet