working on applet