removed whitespace
used Scalaz option for conciseness