figuring out the rubies