add console statement check to check target