Adding PIP detection