started implementing parser