add entropy method