remove duplicate method.