radio function added