overriding function F is new Foo (Bar);