added default quantity value (1) instead of default None for items