Added add server function