internal quality checks