merging dependency class into parser