basic blanking detection working