change: unused variables, constants and parameters has been removed.