use kwargs for alert constructor