removal of redundant method