added figures and changed the index