refactor: move hot notifications into a separate function to be able to call it from elsewhere