added inherit.js