reevised structure of repo