NTP Repository code