init all struct