adding rect