how to do singularity check