modified to collect related informations