moving stuff to gem