preparing server