modified gems some more