some work on applet