tried to implement a remove action
separating script from GUI