add whiteboard function