install packages for examples
weighted examples before comparisons