removing redundant method