get values of the selection boxes