add two types of figures