using alert as msg