terminal index into a service