Repository as global variable has been added