equals methods for different distributions added