adding alert to client