gem works just how it should