Prototypical inheritance works