adding rectangle and ellipse content