added default value for quantity