change view struct