upgraded to scalaz 7