Share code for dig words