checking entropy