added get_ntp method on config