Added NTP code