changed things on the radio group and buttons and cleaned up code.