adding gem lock