convert into gem