implemented binding for virtual methods