added a handler to return quantities for symbols