add "or return None otherwise"