manage struct data