Got repository working