change interface for predict probability