remnve the dependency on class inheritance