collect the structure information