hopefully working better with stacks of gems