renamed some variables, added AddQuantityCommand (does not work)