add rect search