rename function which implements prototype inheritance