add iskindof()
update sample ui