delete methods in GUI