set quantity