adding rectangle