added some gem stuff