Updated to API 1.1 since API 1 is depcrecated