inheritance.js