removing SL code