expected value calculated