parallelism, laziness and state