added object type assertion
more on RTTI
add some type assertions
added type assertions