setup quantity