Prompt amd alert work