using callbacks for confirmation, working now