added casting example for objects