changed gem stuff