remove redundant method.