comment alert function