implemented multi-server support