extra library for ruby from francis jiang