added gems stuff
added gems stuff