added polygon search