updated hot logic