[Restructuring of elements and code optimization]