hot algorithm works now