server begin