add structure for server