add infrared and modify rfidreder