clean up and abhsihek's resource for rf