problem two, @ratings has array of selected ratings