take advantage of the Maybe monad instead of fighting with it.