maybe "if result if not None" ? But is this check really mandatory ?