parent_id can be NULL