creating proper gem