an>';
        linkCreated = true;
      }
    }
  }

  div.html(txt.join(' '));
  return txt;
}

// enter-text
var randomizeInputs = function(){
  // move the text field around
  var s = '';
  s += 'margin-left:'+core.randi(0,20)+'px;';
  s += 'margin-top:'+core.randi(0,20)+'px;';
  d3.select('#form').attr('style', s);

  // and submit button a bit too
  d3.select('#subbtn').attr('style', 'margin-top:'+core.randi(0,20)+'px;');
}

var genProblem = function() {
  // generate the task
  var div = d3.select('#a