exercise for Try[T]