moved radio button stuff to new file