reduce number of required gems