add rectangle command