add support to GUI
modified resource class