adding entropy max