Added configurable number of confirmations