Added getAllItems method