more NTP code