add error handling to individual requests
update documentation