changed to parse api