making gems work