testing the repo function