multiple tables for qc in data base and basic qc checks