index and server