rearranged gems a bit