added distribution example as stand alone