changed unconfirmed to pending