make sure data can be extracted from api