Started work on SL algorithm.