adds an ask function to be used as a confirmation in some functions