added structures and comments
added structures and comments