associating quantities with radio buttons and cost with radio buttons