Using Shannons Entropy