gem moving and switching