Possibly finished (??) outline of API calls