made flash alerts work