updating getPrototypeOf to access super method