added alert to code file