Added prompt procedure.