added isVerified and isConfirmed checks