updated to API version 1.1 (query)