A working hacked LS version