somehow can't access the API elements