More code on SfLib chapter