Got dist working