follow the example of how to use repo