making changes to dependency parser