notes for api lesson