add two figures