added api for secondaries