moved parse api functions