added quantity and dynamic pricing