entropy procedure added