basic alerts-display debugged