optimizing gems

Signed-off-by: erikathea <ethajes@gmail.com>