a notes contains alert function