remove redundant method