add external rectangle