delete needless method.