added checks.js