set it as a variable. make the variable “rep notify” start your mesh switching logic from the repnotifty function that gets generated