add show probability function and contol panel