Works for the most part, not odds greater than 10