remove redundant method definition