effective prototypal inheritance