figuring out how repos work