adding toString on Alerts class