callbacks for developer api