changed ir data routing method