Added gem lock