changing prompt and alert