using generic labels for visibility test