removed some unnecessary parameters fro the distribution functions