change structure of ann