added alert too