rovided setters and getters for the probabilites hashmap