Modified Parser to dyamically allocate itself