added distribution code to psets