Add entropy function, but unfinish