Removed unnecessary confirm variable