Base.js outline for correction