added quantity class