Why internal state is useful