added synchronous protocol index function