making gem work