fungsi relay beat fi