entropy function available now