added a alert stmt