Add comments
Fix idx problems
modify view_of and viewed_by place.
Add ins type assertion