making recommended changes; trying to fix API section; trying to fix ending