using wring object