change the way to parse data