returned to lego command using xhr
in this commit, not the last one oops