add logic to extract out list id.