work on structure parsing