added bayesact of self