removed unnecessary number parameters from methods