before entropy change