removes redundant method