First working version of sl