add inspect function
update nodelike