bigger code and dot.js snap