nativecast added

nativecast has been added, it makes us able to cast things conditionally.