started parser logic