added polygon selection