added qa_approved, secondary flag