notice only if $data is set