prototypal inheritance in controllers