Added bencooling function

Added bencooling function