arranging each structure in its respective namespace