init strucuture