started working on confirm prompt before executing queries