add a more complex alert