Imported v1.2 of the api