init strcuture