removed unused parameters from methods