Removed a redundant parameter from the initItems function.