made repository observable