basic stucture for sever side