added alert prompt