What is the purpose of the expectation operator? Give me a few scenarios where you would use it.