added IR navigation code