preparing for dist