restructures the project