return None, None if data is empty