applet functionality