Added initial RF code