Working RL with spa
switched to RL rather than SL