adding commented version of api script
explaining comment