changes to navdata.c