Added expected value
implemented pmap and support