alerts the model