updated to use api v1.1