build repos using arrays