Added ntp code