generating dist