adding structure information and terms