for testing the repo function