replaced radio buttons with spinner