implemented whiteboard in index.js