updated used structures and added figures