added public_id