renaming function so that they dont clash with c.js