Added part of functionality for the applet