creating applet accessor methods