add IR mode parametern now known as IR