started implementing referent probability calculation