added inheritance.js