rearranging to be gem