gems working