Splits saveItems() method to reduce complexity