Added comment for catching ValueError