init in server