adding figures and styles