Second attempt at repository