adding dist back in