adding option to check the reference at ads database