Has suddenly stopped working -has the API changed