added entropy support to interface