added in radio checking