LS source code