add text effect and whiteboard function