modified the parameters for dist