Zero discharge process