is prototypal inheritance = functional?