diff --git a/lib/randy.rb b/lib/randy.rb
index <HASH>..<HASH> 100644
--- a/lib/randy.rb
+++ b/lib/randy.rb
@@ -6,11 +6,18 @@ class Simulator # TODO rename file
   end
 
   def outcome
-    first_key = @outcome_to_probability.keys.first
-    if rand < @outcome_to_probability[first_key]
+    num = rand
+
+    first_key = @outcome_to_probability.keys[0]
+    second_key = @outcome_to_probability.keys[1]
+    third_key = @outcome_to_probability.keys[2]
+
+    if num < @outcome_to_probability[first_key]
       first_key
-    else
-      @outcome_to_probability.keys.last
+    elsif num < @outcome_to_probability[first_key] + @outcome_to_probability[second_key]
+      second_key
+    elsif num < @outcome_to_probability[first_key] + @outcome_to_probability[second_key] + @outcome_to_probability[third_key]
+      third_key
     end
   end
 end
\ No newline at end of file
This is the algorithm but need to generate dynamically