inherits : call call a function