updated with fixes to bugs we found in the API implementation
bumped to v2.0