create object and parser