#1 added basic support for outliers
#2 added very basic support for add repository