a beginner's attempt at repo