Added InsertionProbability and Refactored