API updated with version 2.0