added Random functionality
added Form ResultPage