check quality