Hot: algorithm