added entropy library