Code  for  locket 1.1.2