entropy inference added