Creating a proper structure.