finished creating prob distribution form node and test for it