remove the method which is no longer used