Added gem code