LocalRepository initialy set to null